<template>
  <div>
    <div class="mianbao">
      <span v-for="(item, index) in nav" :key="index"
        >{{ item.name
        }}<i style="margin: 0 5px" v-show="index != nav.length - 1">/</i></span
      >
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  props: ["nav"],
};
</script>
 
<style lang = "less" scoped>
.mianbao {
  margin: 10px 0 30px 0;
}
</style>